package com.ruoyi.swla2.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.ruoyi.common.annotation.Excel;
import lombok.*;

/**
 * 任务详情对象 t_task_detail
 *
 * @author gdqt
 * @date 2025-06-26
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_task_detail")
public class TaskDetail extends CommonEntity
{
    private static final long serialVersionUID = 1L;

    /**  主键id */
    @TableId(value="id",type = IdType.AUTO)
    private Long id;

    /** 租户ID */
    private String tenantId;

    /** 设备台账表id */
    @Excel(name = "设备台账表id")
    @TableField("device_id")
    private Long deviceId;

    /**  任务管理表id */
    @Excel(name = " 任务管理表id")
    @TableField("task_management_id")
    private Long taskManagementId;

    /** 任务编号 */
    @Excel(name = "任务编号")
    @TableField("task_no")
    private String taskNo;

    /** 任务地址 */
    @Excel(name = "任务地址")
    @TableField("task_address")
    private String taskAddress;

}
